Optimal. Leaf size=180 \[ -\frac{3 i b^3 \text{PolyLog}\left (2,-1+\frac{2}{1-i (c+d x)}\right )}{2 d e^3}+\frac{3 b^2 \log \left (2-\frac{2}{1-i (c+d x)}\right ) \left (a+b \tan ^{-1}(c+d x)\right )}{d e^3}-\frac{3 b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)}-\frac{3 i b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3 (c+d x)^2}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.31859, antiderivative size = 180, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 8, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.348, Rules used = {5043, 12, 4852, 4918, 4924, 4868, 2447, 4884} \[ -\frac{3 i b^3 \text{PolyLog}\left (2,-1+\frac{2}{1-i (c+d x)}\right )}{2 d e^3}+\frac{3 b^2 \log \left (2-\frac{2}{1-i (c+d x)}\right ) \left (a+b \tan ^{-1}(c+d x)\right )}{d e^3}-\frac{3 b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)}-\frac{3 i b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3 (c+d x)^2}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5043
Rule 12
Rule 4852
Rule 4918
Rule 4924
Rule 4868
Rule 2447
Rule 4884
Rubi steps
\begin{align*} \int \frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{(c e+d e x)^3} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (a+b \tan ^{-1}(x)\right )^3}{e^3 x^3} \, dx,x,c+d x\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{\left (a+b \tan ^{-1}(x)\right )^3}{x^3} \, dx,x,c+d x\right )}{d e^3}\\ &=-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3 (c+d x)^2}+\frac{(3 b) \operatorname{Subst}\left (\int \frac{\left (a+b \tan ^{-1}(x)\right )^2}{x^2 \left (1+x^2\right )} \, dx,x,c+d x\right )}{2 d e^3}\\ &=-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3 (c+d x)^2}+\frac{(3 b) \operatorname{Subst}\left (\int \frac{\left (a+b \tan ^{-1}(x)\right )^2}{x^2} \, dx,x,c+d x\right )}{2 d e^3}-\frac{(3 b) \operatorname{Subst}\left (\int \frac{\left (a+b \tan ^{-1}(x)\right )^2}{1+x^2} \, dx,x,c+d x\right )}{2 d e^3}\\ &=-\frac{3 b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3 (c+d x)^2}+\frac{\left (3 b^2\right ) \operatorname{Subst}\left (\int \frac{a+b \tan ^{-1}(x)}{x \left (1+x^2\right )} \, dx,x,c+d x\right )}{d e^3}\\ &=-\frac{3 i b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3}-\frac{3 b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3 (c+d x)^2}+\frac{\left (3 i b^2\right ) \operatorname{Subst}\left (\int \frac{a+b \tan ^{-1}(x)}{x (i+x)} \, dx,x,c+d x\right )}{d e^3}\\ &=-\frac{3 i b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3}-\frac{3 b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3 (c+d x)^2}+\frac{3 b^2 \left (a+b \tan ^{-1}(c+d x)\right ) \log \left (2-\frac{2}{1-i (c+d x)}\right )}{d e^3}-\frac{\left (3 b^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (2-\frac{2}{1-i x}\right )}{1+x^2} \, dx,x,c+d x\right )}{d e^3}\\ &=-\frac{3 i b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3}-\frac{3 b \left (a+b \tan ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3}-\frac{\left (a+b \tan ^{-1}(c+d x)\right )^3}{2 d e^3 (c+d x)^2}+\frac{3 b^2 \left (a+b \tan ^{-1}(c+d x)\right ) \log \left (2-\frac{2}{1-i (c+d x)}\right )}{d e^3}-\frac{3 i b^3 \text{Li}_2\left (-1+\frac{2}{1-i (c+d x)}\right )}{2 d e^3}\\ \end{align*}
Mathematica [A] time = 0.225925, size = 225, normalized size = 1.25 \[ -\frac{3 b^3 (c+d x) \left (i (c+d x) \left (\tan ^{-1}(c+d x)^2+\text{PolyLog}\left (2,e^{2 i \tan ^{-1}(c+d x)}\right )\right )+\tan ^{-1}(c+d x)^2-2 (c+d x) \tan ^{-1}(c+d x) \log \left (1-e^{2 i \tan ^{-1}(c+d x)}\right )\right )+3 a^2 b \left (\left ((c+d x)^2+1\right ) \tan ^{-1}(c+d x)+c+d x\right )+a^3+3 a b^2 \left (-2 (c+d x)^2 \log \left (\frac{c+d x}{\sqrt{(c+d x)^2+1}}\right )+2 (c+d x) \tan ^{-1}(c+d x)+\left ((c+d x)^2+1\right ) \tan ^{-1}(c+d x)^2\right )+b^3 \left (c^2+2 c d x+d^2 x^2+1\right ) \tan ^{-1}(c+d x)^3}{2 d e^3 (c+d x)^2} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.138, size = 631, normalized size = 3.5 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b^{3} \arctan \left (d x + c\right )^{3} + 3 \, a b^{2} \arctan \left (d x + c\right )^{2} + 3 \, a^{2} b \arctan \left (d x + c\right ) + a^{3}}{d^{3} e^{3} x^{3} + 3 \, c d^{2} e^{3} x^{2} + 3 \, c^{2} d e^{3} x + c^{3} e^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{a^{3}}{c^{3} + 3 c^{2} d x + 3 c d^{2} x^{2} + d^{3} x^{3}}\, dx + \int \frac{b^{3} \operatorname{atan}^{3}{\left (c + d x \right )}}{c^{3} + 3 c^{2} d x + 3 c d^{2} x^{2} + d^{3} x^{3}}\, dx + \int \frac{3 a b^{2} \operatorname{atan}^{2}{\left (c + d x \right )}}{c^{3} + 3 c^{2} d x + 3 c d^{2} x^{2} + d^{3} x^{3}}\, dx + \int \frac{3 a^{2} b \operatorname{atan}{\left (c + d x \right )}}{c^{3} + 3 c^{2} d x + 3 c d^{2} x^{2} + d^{3} x^{3}}\, dx}{e^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \arctan \left (d x + c\right ) + a\right )}^{3}}{{\left (d e x + c e\right )}^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]